<include file="public@header"/>
</head>
<body>
<div class="wrap">
    <ul class="nav nav-tabs">
        <li class=""><a href="{:url('index',array('id'=>$id))}">甲分包花名册</a></li>
        <li class="active"><a>添加记录</a></li>
    </ul>
    <form method="post" class="form-horizontal js-ajax-form margin-top-20" action="{:url('doadd')}"
          enctype="multipart/form-data">

        <div class="form-group">
            <label for="js-smtpsecure" class="col-sm-2 control-label">
                <span class="form-required">*</span>分包单位名称</label>
            <div class="col-md-6 col-sm-10">
                <input type="text" class="form-control" name="company">
            </div>
        </div>

        <div class="form-group">

            <label for="js-smtpsecure" class="col-sm-2 control-label">
                <span class="form-required">*</span>职位
            </label>
            <div class="col-md-6 col-sm-10">
                <input type="text" class="form-control" name="position">
            </div>
        </div>


        <div class="form-group">
            <label for="js-smtpsecure" class="col-sm-2 control-label">
                <span class="form-required">*</span>姓名
            </label>
            <div class="col-md-6 col-sm-10">
                <input type="text" name="name" class="form-control">
            </div>
        </div>

        <div class="form-group">
            <label for="js-smtpsecure" class="col-sm-2 control-label">
                <span class="form-required">*</span>电话
            </label>
            <div class="col-md-6 col-sm-10">
                <input type="number" name="mobile" class="form-control">
            </div>
        </div>

        <input type="hidden" name="eid" value="{$id}">


        <div class="form-group">
            <div class="col-sm-offset-2 col-sm-10">
                <button type="submit" class="btn btn-primary js-ajax-submit">{:lang('SAVE')}</button>
                <a class="btn btn-default" href="javascript:history.back(-1);">{:lang('BACK')}</a>
            </div>
        </div>
    </form>
</div>
<script src="__STATIC__/js/admin.js"></script>
</body>
</html>